<?php $User = new Zend_Session_Namespace ( 'Login' );?>
<div id="da-user-profile">
	<div id="da-user-avatar">
		<img src="<?php echo $User->User->getThumbImage();?>" alt="<?php echo $User->User->first_name.' '. $User->User->last_name;?>" />
	</div>
	<div id="da-user-info">
		
		<?php echo $User->User->username;?><span class="da-user-title"><?php echo $User->User->UserGroup->group_name;?></span>
	</div>
	<ul class="da-header-dropdown">
		<li class="da-dropdown-caret"><span class="caret-outer"></span> <span
			class="caret-inner"></span></li>
		<li class="da-dropdown-divider"></li>
		<li><a href="<?php echo ROOT_URL.$this->url(array('controller'=>'index','action'=>'index','module'=>'admin'),null,true);?>">Dashboard</a></li>
		<li class="da-dropdown-divider"></li>
		<li><a href="<?php echo ROOT_URL.$this->url(array('controller'=>'user','action'=>'profile','module'=>'admin'),null,true);?>">Profile</a></li>
		<li><a href="<?php echo ROOT_URL.$this->url(array('controller'=>'setting','action'=>'index','module'=>'admin'),null,true);?>">Settings</a></li>
		<li><a href="<?php echo ROOT_URL.$this->url(array('controller'=>'user','action'=>'logout','module'=>'admin'),null,true);?>">Logout</a></li>
	</ul>
</div>
<div id="da-header-button-container">
	<ul>
		<li class="da-header-button notif"><span class="da-button-count">32</span>
			<a href="#">Notifications</a>
			<ul class="da-header-dropdown">
				<li class="da-dropdown-caret"><span class="caret-outer"></span> <span
					class="caret-inner"></span></li>
				<li><span class="da-dropdown-sub-title">Notifications</span>
					<ul class="da-dropdown-sub">
						<li class="unread"><a href="#"> <span class="message"> Lorem ipsum
									dolor sit amet consectetur adipiscing elit, et al commore </span>
								<span class="time"> January 21, 2012 </span>
						</a></li>
						<li class="unread"><a href="#"> <span class="message"> Lorem ipsum
									dolor sit amet </span> <span class="time"> January 21, 2012 </span>
						</a></li>
						<li class="read"><a href="#"> <span class="message"> Lorem ipsum
									dolor sit amet </span> <span class="time"> January 21, 2012 </span>
						</a></li>
						<li class="read"><a href="#"> <span class="message"> Lorem ipsum
									dolor sit amet </span> <span class="time"> January 21, 2012 </span>
						</a></li>
					</ul> <a class="da-dropdown-sub-footer"> View all notifications </a>
				</li>
			</ul></li>
		<li class="da-header-button message"><span class="da-button-count">5</span>
			<a href="#">Messages</a>
			<ul class="da-header-dropdown">
				<li class="da-dropdown-caret"><span class="caret-outer"></span> <span
					class="caret-inner"></span></li>
				<li><span class="da-dropdown-sub-title">Messages</span>
					<ul class="da-dropdown-sub">
						<li class="unread"><a href="#"> <span class="message"> Lorem ipsum
									dolor sit amet consectetur adipiscing elit, et al commore </span>
								<span class="time"> January 21, 2012 </span>
						</a></li>
						<li class="unread"><a href="#"> <span class="message"> Lorem ipsum
									dolor sit amet </span> <span class="time"> January 21, 2012 </span>
						</a></li>
						<li class="read"><a href="#"> <span class="message"> Lorem ipsum
									dolor sit amet </span> <span class="time"> January 21, 2012 </span>
						</a></li>
						<li class="read"><a href="#"> <span class="message"> Lorem ipsum
									dolor sit amet </span> <span class="time"> January 21, 2012 </span>
						</a></li>
					</ul> <a class="da-dropdown-sub-footer"> View all messages </a></li>
			</ul></li>
		<li class="da-header-button logout"><a href="<?php echo ROOT_URL.$this->url(array('controller'=>'user','action'=>'logout','module'=>'admin'),null,true);?>">Logout</a></li>
	</ul>
</div>